package com.factory.iamp.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UploadList {
    private int fid;
    private UserName user;
    private String realname;
    private String path;
    private Timestamp created_at;

    public void setUser(User user) {
        this.user = new UserName(user);
    }
}
